package br.com.SRP.Modelo;

	import java.io.Serializable;

	import javax.persistence.Column;
	import javax.persistence.Entity;
	import javax.persistence.FetchType;
	import javax.persistence.GeneratedValue;
	import javax.persistence.GenerationType;
	import javax.persistence.Id;
	import javax.persistence.JoinColumn;
	import javax.persistence.ManyToOne;
	import javax.persistence.Table;
	import javax.persistence.Temporal;
import javax.persistence.TemporalType;


	/**
	 * The persistent class for the ckl02Acao database table.
	 * 
	 */
	@Entity
	@Table(name="fat04ServicoPrestado")
	public class Fat04ServicoPrestado implements Serializable {
		private static final long serialVersionUID = 1L;

		@Id
		@Column(name="codigo")
		@GeneratedValue(strategy=GenerationType.IDENTITY)
		private int codigo;
		
		private String prefixoAeronave;

		private String numeroVoo;
		
		private String origem;
		
		private String destino;
		
		private String horaChegada;
		
		private String horaSaida;
		
		private String observacao;
		
		
		@Temporal(TemporalType.TIMESTAMP)
		private java.util.Calendar data;
		
		
		//bi-directional many-to-one association to Eqp02Tipo
	    @ManyToOne(fetch = FetchType.EAGER)
	    @JoinColumn(name = "cliente", referencedColumnName = "codigo")
		private Fat01Cliente fat01Cliente;
		
		//bi-directional many-to-one association to Eqp02Tipo
	    @ManyToOne(fetch = FetchType.EAGER)
	    @JoinColumn(name = "usuario", referencedColumnName = "codigo")
		private Sis01Usuario sis01Usuario;
	    
	  //bi-directional many-to-one association to Eqp02Tipo
	    @ManyToOne(fetch = FetchType.EAGER)
	    @JoinColumn(name = "servicoExecutado", referencedColumnName = "codigo")
		private Fat06ServicoExecutado fat06ServicoExecutado;
	    
	  //bi-directional many-to-one association to Eqp02Tipo
	    @ManyToOne(fetch = FetchType.EAGER)
	    @JoinColumn(name = "filial", referencedColumnName = "codigo")
		private Sis02Filial sis02Filial;
	    
	  //bi-directional many-to-one association to Eqp02Tipo
	    @ManyToOne(fetch = FetchType.EAGER)
	    @JoinColumn(name = "fatura", referencedColumnName = "codigo")
		private Fat05Fatura fat05Fatura;
	    
	  //bi-directional many-to-one association to Eqp02Tipo
	    @ManyToOne(fetch = FetchType.EAGER)
	    @JoinColumn(name = "aeronave", referencedColumnName = "codigo")
		private Fat03Aeronave fat03Aeronave;
	    
	  
	    public Fat04ServicoPrestado() {
	    }

	   
		public int getCodigo() {
			return this.codigo;
		}

		public void setCodigo(int codigo) {
			this.codigo = codigo;
		}
		public java.util.Calendar getData() {
			return this.data;
		}

		public void setData(java.util.Calendar data) {
			this.data = data;
		}
		
		public String getPrefixoAeronave() {
			return prefixoAeronave;
		}


		public void setPrefixoAeronave(String prefixoAeronave) {
			this.prefixoAeronave = prefixoAeronave;
		}


		public String getNumeroVoo() {
			return numeroVoo;
		}


		public void setNumeroVoo(String numeroVoo) {
			this.numeroVoo = numeroVoo;
		}


		public String getOrigem() {
			return origem;
		}


		public void setOrigem(String origem) {
			this.origem = origem;
		}


		public String getDestino() {
			return destino;
		}


		public void setDestino(String destino) {
			this.destino = destino;
		}


		public String getHoraChegada() {
			return horaChegada;
		}


		public void setHoraChegada(String horaChegada) {
			this.horaChegada = horaChegada;
		}


		public String getHoraSaida() {
			return horaSaida;
		}


		public void setHoraSaida(String horaSaida) {
			this.horaSaida = horaSaida;
		}


		public String getObservacao() {
			return observacao;
		}


		public void setObservacao(String observacao) {
			this.observacao = observacao;
		}


		public Sis01Usuario getSis01Usuario() {
			return this.sis01Usuario;
		}

		public void setSis01Usuario(Sis01Usuario sis01Usuario) {
			this.sis01Usuario = sis01Usuario;
		}


		public Fat06ServicoExecutado getFat06ServicoExecutado() {
			return this.fat06ServicoExecutado;
		}


		public void setFat06ServicoExecutado(Fat06ServicoExecutado fat06ServicoExecutado) {
			this.fat06ServicoExecutado = fat06ServicoExecutado;
		}


		public Sis02Filial getSis02Filial() {
			return this.sis02Filial;
		}


		public void setSis02Filial(Sis02Filial sis02Filial) {
			this.sis02Filial = sis02Filial;
		}


		public Fat05Fatura getFat05Fatura() {
			return this.fat05Fatura;
		}


		public void setFat05Fatura(Fat05Fatura fat05Fatura) {
			this.fat05Fatura = fat05Fatura;
		}


		public Fat03Aeronave getFat03Aeronave() {
			return this.fat03Aeronave;
		}


		public void setFat03Aeronave(Fat03Aeronave fat03Aeronave) {
			this.fat03Aeronave = fat03Aeronave;
		}


		public Fat01Cliente getFat01Cliente() {
			return this.fat01Cliente;
		}


		public void setFat01Cliente(Fat01Cliente fat01Cliente) {
			this.fat01Cliente = fat01Cliente;
		}
	}    